package com.direct.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author caixiaofeng
 * @company xxx公司科技有限公司
 * @create 2020-04-21 14:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)//链式写法
@Builder
public class Dept implements Serializable {
    private Long deptno;
    private String dname;
    private String db_source;
    public Dept(String dname) {
        this.dname = dname;
    }
}
